package com.zk5_education.service_edu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zk5_education.service_edu.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zk5_education.service_edu.entity.vo.AllCourseQuery;
import com.zk5_education.service_edu.entity.vo.CourseMessage;
import com.zk5_education.service_edu.entity.vo.CourseQuery;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-08-08
 */
public interface EduCourseService extends IService<EduCourse> {

    String addcourse(CourseQuery courseQuery);

    CourseQuery getcourseMessage(String courseid);

    void saveCourse(CourseQuery courseQuery);

    CourseMessage selectMessage(String id);

    void publishcourse(String courseid);

    void pageCourse(Page<EduCourse>page, AllCourseQuery allCourseQuery);

    void deleteCourse(String courseid);
}
